package top.dbpanda.cmsjpa.learn.thread.juc;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 20018954
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Myjob implements Comparable<Myjob> {
    private int id;

    @Override
    public int compareTo(Myjob o) {
        return Integer.compare(this.id, o.id);
    }
}
